﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace linkouqs.Gamekit {

    public static class DictionaryExtentions
    {
        public static Tvalue TryGet<Tkey, Tvalue>(this Dictionary<Tkey,Tvalue>dict,Tkey key)
        {
            Tvalue value;
            dict.TryGetValue(key, out value);
            return value;
        }
    }
}
